IMAGE=image.cestc.cn/ies/code-manager:v0.0.2

.PHONY: build push run debug clean
build:
	docker build -t ${IMAGE} -f Dockerfile .

push:
	docker push ${IMAGE}

run:
	-docker rm -f code-manager	
	docker run -d --name code-manager ${IMAGE} sh -c 'sleep 100000'
	
debug:
	docker exec -it code-manager sh	
clean:
	docker rm -f code-manager

